---
title: bud.isProduction
description: Property that is `true` when bud.mode is `production`
---

# bud.isProduction

**Boolean** property which is `true` when [bud.mode](/reference/bud.mode/) is `production`

## Usage

Very useful in conditionals:

```ts title=bud.config.ts
export default async bud => {
  bud.isProduction && bud.devtool(false)
}
```

Pairs well with [bud.when](/reference/bud.when):

```ts title=bud.config.ts
bud.when(bud.isProduction, bud.minimize)
```

## See also

- [bud.mode](/reference/bud.mode/)
- [bud.isDevelopment](/reference/bud.mode/bud.isDevelopment)
- [bud.when](/reference/bud.when)
